package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by shao-yikun on 2017/4/7.
 */
@Entity
@Table(name = "tb_signfault", schema = "hualude_db", catalog = "")
public class SignfaultEntity {
    private Integer signFaultId;
    private Integer roadSignId;
    private Integer signFaultLevel;
    private String signFaultPic;
    private Integer signFaultType;
    private String signFaultReason;
    private Integer signFaultPeopleId;
    private String signFaultTime;
    private String signCheckTime;
    private Integer companyUserId;
    private Integer companyCheck;
    private Integer mainUserId;
    private Integer mainCheck;
    private String signFaultCheckBack;
    private Integer maintenancePeopleId;
    private Integer orgId;
    private Integer mainOrgId;
    private Double repairAmount;

    @Id
    @GeneratedValue (strategy = GenerationType.IDENTITY)
    @Column(name = "SignFaultId")
    public Integer getSignFaultId() {
        return signFaultId;
    }

    public void setSignFaultId(Integer signFaultId) {
        this.signFaultId = signFaultId;
    }

    @Basic
    @Column(name = "RoadSignId")
    public Integer getRoadSignId() {
        return roadSignId;
    }

    public void setRoadSignId(Integer roadSignId) {
        this.roadSignId = roadSignId;
    }

    @Basic
    @Column(name = "SignFaultLevel")
    public Integer getSignFaultLevel() {
        return signFaultLevel;
    }

    public void setSignFaultLevel(Integer signFaultLevel) {
        this.signFaultLevel = signFaultLevel;
    }

    @Basic
    @Column(name = "SignFaultPic")
    public String getSignFaultPic() {
        return signFaultPic;
    }

    public void setSignFaultPic(String signFaultPic) {
        this.signFaultPic = signFaultPic;
    }

    @Basic
    @Column(name = "SignFaultType")
    public Integer getSignFaultType() {
        return signFaultType;
    }

    public void setSignFaultType(Integer signFaultType) {
        this.signFaultType = signFaultType;
    }

    @Basic
    @Column(name = "SignFaultReason")
    public String getSignFaultReason() {
        return signFaultReason;
    }

    public void setSignFaultReason(String signFaultReason) {
        this.signFaultReason = signFaultReason;
    }

    @Basic
    @Column(name = "SignFaultPeopleId")
    public Integer getSignFaultPeopleId() {
        return signFaultPeopleId;
    }

    public void setSignFaultPeopleId(Integer signFaultPeopleId) {
        this.signFaultPeopleId = signFaultPeopleId;
    }

    @Basic
    @Column(name = "SignFaultTime")
    public String getSignFaultTime() {
        return signFaultTime;
    }

    public void setSignFaultTime(String signFaultTime) {
        this.signFaultTime = signFaultTime;
    }

    @Basic
    @Column(name = "SignCheckTime")
    public String getSignCheckTime() {
        return signCheckTime;
    }

    public void setSignCheckTime(String signCheckTime) {
        this.signCheckTime = signCheckTime;
    }

    @Basic
    @Column(name = "CompanyUserId")
    public Integer getCompanyUserId() {
        return companyUserId;
    }

    public void setCompanyUserId(Integer companyUserId) {
        this.companyUserId = companyUserId;
    }

    @Basic
    @Column(name = "CompanyCheck")
    public Integer getCompanyCheck() {
        return companyCheck;
    }

    public void setCompanyCheck(Integer companyCheck) {
        this.companyCheck = companyCheck;
    }

    @Basic
    @Column(name = "MainUserId")
    public Integer getMainUserId() {
        return mainUserId;
    }

    public void setMainUserId(Integer mainUserId) {
        this.mainUserId = mainUserId;
    }

    @Basic
    @Column(name = "MainCheck")
    public Integer getMainCheck() {
        return mainCheck;
    }

    public void setMainCheck(Integer mainCheck) {
        this.mainCheck = mainCheck;
    }

    @Basic
    @Column(name = "SignFaultCheckBack")
    public String getSignFaultCheckBack() {
        return signFaultCheckBack;
    }

    public void setSignFaultCheckBack(String signFaultCheckBack) {
        this.signFaultCheckBack = signFaultCheckBack;
    }

    @Basic
    @Column(name = "MaintenancePeopleId")
    public Integer getMaintenancePeopleId() {
        return maintenancePeopleId;
    }

    public void setMaintenancePeopleId(Integer maintenancePeopleId) {
        this.maintenancePeopleId = maintenancePeopleId;
    }

    @Basic
    @Column(name = "OrgId")
    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    @Basic
    @Column(name = "MainOrgId")
    public Integer getMainOrgId() {
        return mainOrgId;
    }

    public void setMainOrgId(Integer mainOrgId) {
        this.mainOrgId = mainOrgId;
    }

    @Basic
    @Column(name = "RepairAmount")
    public Double getRepairAmount() {
        return repairAmount;
    }

    public void setRepairAmount(Double repairAmount) {
        this.repairAmount = repairAmount;
    }
}
